package com.msb.mapper;

import com.msb.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName: EmpMapper
 * @Author: zw
 * @Description: 出百万拳，行万里路；
 * @Create 2024/5/19-22:42
 * @Version 1.0
 */
@Mapper
public interface EmpMapper {
    public void addTestmysql(@Param("id") int id, @Param("name") String name);
    public void queryTestmysql(@Param("id") int id);

    String findEmpById(@Param("id") int id);

    Emp findEmpsById(@Param("id") int id);

    List<Emp> findAllEmps(Emp emp);
}
